

# n = eval(input())
# for i in range(int((n+1)/2)):
#     print(("*" * (2*i+1)).center(n, " "))

n = eval(input())
# range这三个参数表示为从1到n+1，步长为2
for i in range(1, n+1, 2):
    print("{0:^{1}}".format('*'*i, n))


# a = eval(input())
# b = pow(a, 3)
# print(str(b).center(20, "-"))
# print("{:-^20}".format(pow(a, 3)))






